Imports

Define Parameters and Variables

Extract tonic or Sa of the entire song (in Hz) using the module - essentia

We load only the relevant part of the audio file here. Audio is loaded in mono, and sample rate is unchanged.
The frequencies sung are extracted using a software called Praat.

Use the stereo mix audio to find the values of the spectogram

Play the audio being analysed

Plotting the pitch contour. Matras are marked with a vertical line - solid line indicating a vibhaag and dotted line indicating a matra; and the cycle number is noted in a box at the bottom of the line.

Plot with Hz on y-axis

Play the audio being analysed

Plot with Cents on the y-axis